package com.baizhi.cmfzmanager.service;

import com.baizhi.cmfzmanager.entity.User;
import com.baizhi.cmfzmanager.entity.UserDTO;

import java.util.List;
import java.util.Map;

public interface UserService {

    public Map getUsers(int page,int rows);
    List<UserDTO> getSexData();
    List<Map> getProvinceData();
    List<UserDTO> getRegistData();

    Map getThreeByOne();

    Map getThreeByMany() throws InterruptedException;

    Map getThreeByFuture() throws Exception;

    public void freeze(int id);

    User login(String userTelephone, String userPassword);

    void updateUsername(Integer userId, String username);

    void updateUserImage(Integer userId, String filename);

    void updateNickname(Integer userId, String userNickname);
}
